package com.matt.domain;

import com.matt.commons.model.Domain;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

/**
 * *******************************
 * Created by Tim.
 * form com.matt
 * on 2017/7/13
 * *******************************
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class ChildrenContractInfoRecord extends Domain {

    @Id
    private String id;

    @ApiModelProperty(value = "客户id")
    private String clienteleId;

    @ApiModelProperty(value = "合同id")
    private String contractId;

    @ApiModelProperty(value = "类型0普通记录,1延长合同,2入户扣课")
    private Integer type;

    @ApiModelProperty(value = "影响天数")
    private Integer effectDay;

    @ApiModelProperty(value = "初始剩余延长合同天数")
    private Integer surplusOriginalLeaveDay;

    @ApiModelProperty(value = "剩余延长合同天数")
    private Integer surplusLeaveDay;

    @ApiModelProperty(value = "初始合同结束日期")
    private String nurseryOriginalEndDate;

    @ApiModelProperty(value = "合同结束日期")
    private String nurseryEndDate;

    @ApiModelProperty(value = "创建人")
    private String createdBy;

    @ApiModelProperty(value = "创建名称")
    private String createdName;

    @ApiModelProperty(value = "备注")
    private String remark = "";

}
